<%@ page language="java" pageEncoding="UTF-8"%>
<%@taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html>
	<head>
		<title>囧事爆料	-	吐槽最新囧事</title>
		<jsp:include page="public/header.jsp"/>
		<script type='text/javascript' src='${request.getContextPath }/js/jiong/auditArticle.js'></script>
	</head>

	<body>
		<jsp:include page="public/top.jsp"/>
		<div class="newArticle_div">
			<div class="newArticle_title_div">
				囧客既然到此一游，就留下点痕迹吧	^-^
			</div>
			<br />
			<div class="newArticle_input_div">
				<form action="${request.getContextPath }/article/doAudit" method="post">
				<input type="hidden" name="id" value="${article.id }" />
				<dl class="textDLT">
					<dt>
						标题：
					</dt>
					<dd>
						<c:choose>
							<c:when test="${article.title == null || article.title == '' }">
								无
							</c:when>
							<c:otherwise>
								${article.title }
							</c:otherwise>
						</c:choose>
					</dd>
					<dt>
						囧事：
					</dt>
					<dd>
						${article.content }
					</dd>
					<dt>
						真相：
					</dt>
					<dd>
						<c:choose>
							<c:when test="${article.imgPath == null || article.imgPath == '' }">
								无
							</c:when>
							<c:otherwise>
								<img class="maxWidth600" src="${request.getContextPath }/${article.imgPath }" />
							</c:otherwise>
						</c:choose>
					</dd>
					<dt>
						随便选一个哈~ 
					</dt>
					<dd>
						<ul class="auditUI">
							<li>
								<input class="radioInput" name="audit" type="radio" checked="checked" value="AUDITED"/>
								<label class="radioLabel">通  过</label>
							</li>
							<li>
								<input class="radioInput" name="audit" type="radio" value="UNJIONG"/>
								<label class="radioLabel">不  囧</label>
							</li>
							<li>
								<input class="radioInput" name="audit" type="radio" value="UNKNOW"/>
								<label class="radioLabel">没 看 懂</label>
							</li>
							<li>
								<input class="radioInput" name="audit" type="radio" value="YELLOW"/>
								<label class="radioLabel">黄  色</label>
							</li>
							<li>
								<input class="radioInput" name="audit" type="radio" value="VIOLENCE"/>
								<label class="radioLabel">暴  力</label>
							</li>
							<li>
								<input class="radioInput" name="audit" type="radio" value="ANTIHUMAN"/>
								<label class="radioLabel">反 人 类</label>
							</li>
						</ul>
					</dd>
					<dt></dt>
					<dd class="auditButton">
						<input class="button_input" type="submit" value="走你, 下一个" />
					</dd>
				</dl>
				</form>
			</div>
			<br />
		</div>
		<jsp:include page="public/foot.jsp"/>
	</body>
</html>
